//
//  ZODNetworkRequest.h
//  ZTEOnlineDoc
//
//  Created by 万伟琦 on 2018/9/12.
//  Copyright © 2018年 ZTE. All rights reserved.
//

#import <Foundation/Foundation.h>
@class ZODFileInfo;
@class ZODAttInfo;

NS_ASSUME_NONNULL_BEGIN

@interface ZODNetworkRequest : NSObject

//调用鉴权接口, 还要传 token
+ (void)requestAuthWithAttInfo:(ZODAttInfo *)attInfo
                       success:(void(^)(void))success
                       failure:(void(^)(NSError *error, NSString *errorCode))failure;

//预加载接口
+ (void)requestPreConversionWithBaseURL:(NSString *)baseUrl
                                  Files:(NSArray<ZODFileInfo *> *)files
                                sysCode:(NSString *)sysCode
                                 userNo:(NSString *)userNo
                                success:(void(^)(void))success
                                failure:(void(^)(NSError *error, NSString *errorCode))failure;


@end

NS_ASSUME_NONNULL_END
